package com.qys.livesMall.anchor.model.dto.lives.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author 86150
 */
@Data
public class LiveRoomBanSaveDTO {

    @Schema(description = "直播间id")
    @NotNull(message = "{直播间id为空}")
    private Long livesRoomId;

    @Schema(description = "封禁天数（-1：永封）")
    @NotNull(message = "{请输入封禁天数}")
    @Min(message = "{必须大于1}",value = -1)
    private Integer banDay;

    @Schema(description = "封禁备注（不超过255字符）")
    @NotBlank(message = "{请输入封禁备注}")
    @Length(max = 36,message = "{备注不超过255字符}")
    private String limitRemark;

}
